package com.aurora.app.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.aurora.base.entity.BaseEntity;


/**
 * 专题
 * @author yongjiang.lin
 *
 */
@Entity
@Table(name="tb_story_topic")
public class StoryTopic extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private String url;
	
	private int like;
	
	private int storyNum;
	
	private int rank;
	
	private String desc;

	/**
	 * 分类名
	 * @return
	 */
	@Column(name="f_name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 图片路径
	 * @return
	 */
	@Column(name="f_url")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name="f_like")
	public int getLike() {
		return like;
	}

	public void setLike(int like) {
		this.like = like;
	}

	@Column(name="f_story_num")
	public int getStoryNum() {
		return storyNum;
	}

	public void setStoryNum(int storyNum) {
		this.storyNum = storyNum;
	}

	
	/**
	 * 上升最快排序，排序由每天的定时任务计算
	 * @return
	 */
	@Column(name="f_rank")
	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	@Column(name="f_desc")
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
}
